HCaptcha\Main B

Total Complexity 80
Dependencies 113
Dependents 6
Total lines 1,329
Lines of code 903
Logical lines of code 169
Comment lines 237
Methods 25
Properties 7

Methods 25

Method Rating Maintainability Complexity Lines of code
load_modules()
D
15
9 506
print_inline_styles()
A
40 4 91
is_elementor_pro_edit_page()
A
55 8 18
print_footer_scripts()
S
47 6 36
plugin_or_theme_active()
S
56 7 20
get_api_src()
S
50 6 28
csp_headers()
S
50 6 27
activate_hcaptcha()
S
62 6 10
init_hooks()
S
48 2 35
whitelist_ip()
S
52 2 31
parse_csp()
S
62 2 11
login_head()
S
63 1 17
declare_wc_compatibility()
S
72 2 5
get_check_site_config_url()
S
69 2 6
get_verify_url()
S
69 2 6
init()
S
67 2 8
get_api_url()
S
69 2 6
merge_csp()
S
63 2 10
prefetch_hcaptcha_dns()
S
69 2 7
is_xml_rpc()
S
79 2 3
force_https()
S
71 1 5
settings()
S
82 1 3
load()
S
80 1 3
get()
S
79 1 3
load_textdomain()
S
68 1 8